﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.BusinessEntity;

namespace JM.JCY.Common
{
   public interface IApplication
    {
       ApplicationDataSet.T_ApplicationDataTable GetApplicationByName(string appName);
       ApplicationDataSet.T_ApplicationDataTable GetApplicationByType(string appType, string isVisble);
       ApplicationDataSet.T_ApplicationDataTable GetApplicationNameById(int appId);


       ApplicationDataSet.T_ApplicationRoleDataTable GetApplicationRoleByUserName(string userName);
     

       ApplicationDataSet.T_ApplicationRoleDataTable GetApplicationRoleByAppId(int appId);
     

       void DeleteApplicationRoleByAppId(int appId);


       void CreateApplicationRole(ApplicationDataSet.T_ApplicationRoleDataTable dt);
     
      
    }


}
